package com.ruoyi.tournament.mapper;

import java.util.List;
import com.ruoyi.tournament.domain.FirefighterTournament;

/**
 * 比武竞赛情况Mapper接口
 *
 * @author ruoyi
 * @date 2024-10-11
 */
public interface FirefighterTournamentMapper
{
    /**
     * 查询比武竞赛情况
     *
     * @param id 比武竞赛情况主键
     * @return 比武竞赛情况
     */
    public FirefighterTournament selectFirefighterTournamentById(Long id);

    /**
     * 查询比武竞赛情况列表
     *
     * @param firefighterTournament 比武竞赛情况
     * @return 比武竞赛情况集合
     */
    public List<FirefighterTournament> selectFirefighterTournamentList(FirefighterTournament firefighterTournament);

    /**
     * 新增比武竞赛情况
     *
     * @param firefighterTournament 比武竞赛情况
     * @return 结果
     */
    public int insertFirefighterTournament(FirefighterTournament firefighterTournament);

    /**
     * 修改比武竞赛情况
     *
     * @param firefighterTournament 比武竞赛情况
     * @return 结果
     */
    public int updateFirefighterTournament(FirefighterTournament firefighterTournament);

    /**
     * 删除比武竞赛情况
     *
     * @param id 比武竞赛情况主键
     * @return 结果
     */
    public int deleteFirefighterTournamentById(Long id);

    /**
     * 批量删除比武竞赛情况
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteFirefighterTournamentByIds(Long[] ids);

    void deleteFirefighterTournamentByIdsuser(Long userId);
}
